﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StableDiffusionTools.Imaging
{
    public class BitmapResizeLanczosSettings : BitmapResizeSettings
    {
        public float Radius { get; set; }
        public bool UseCenteredGrid { get; set; }

        public BitmapResizeLanczosSettings(float radius = 3.0f, bool useCenteredGrid = false, double scalar = 1.0) : base(scalar)
        {
            Radius = radius;
            UseCenteredGrid = useCenteredGrid;
        }
    
        public BitmapResizeLanczosSettings(float radius = 3.0f, bool useCenteredGrid = false, Size size = default(Size)) : base(size)
        {
            Radius = radius;
            UseCenteredGrid = useCenteredGrid;
        }
    }
}
